*{
    padding: 0;
    margin: 0;
}
a{
    text-decoration: none;
    color: #333;
}
ul,ol,li{
    list-style: none;
}
#taskList{
    width: 100%;
    height: 980px;
    position: relative;
    background-image: linear-gradient(102.7deg, #fddaff 8.2%, #dfadfc 19.6%, #adcdfc 36.8%, #adfcf4 73.2%, #caf8d0 90.9%);
}
#task{
    max-width: 450px;
    width: 100%;
    position: absolute;
    left: 50%;
    top:50%;
    transform: translate(-50%,-50%);
    background-color: #fff;
    font-family: var(--font);
    border-radius: 16px;
    font-size: 15px;
    overflow: hidden;
    color: #455963;
    box-shadow: 0 20px 80px rgb(0 0 0 / 30%);
    padding-bottom: 20px;
}
.task-header-title{
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    padding: 20px 20px 6px 20px;
}
.task-tools{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 0 20px;
}
.task-count{
    color: #8a9ca5;
    font-size: 14px;
}
.task_filter.is_active {
    background-color: #7996a5;
    color: #fff;
}
.task_filter{
    border: 0;
    padding: 3px 8px;
    background: 0;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    font-family: var(--font);
    color: #8a9ca5;
    border-radius: 20px;
}

/*  */
.task-form {
    display: flex;
    margin-top: 10px;
}
.task-input {
    margin-left: 10px;
    flex: 1;
    font-size: 16px;
    font-family: var(--font);
    padding: 10px 20px;
    border: 0;
    box-shadow: 0 -1px 0 #e2e4ea inset;
    color: #455963;
}
.task_button {
    background-color: #4acea3;
    border-color: #38bb90;
    border-radius: 10%;
    margin-left: 5px;
    margin-right: 5px;
}

/* 清单列表 */
.task-list {
    max-height: 60vh;
    overflow: auto;
}
.task-item.is-completed {
    background-color: rgba(74, 206, 163, 0.1);
}
.task-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 20px;
    height: 30px;
}
.task-item:hover{
    background-color: rgb(246,251,255);
}
.task-item:hover .task-delete{
    display: inline;
}
.task-item + .task-item {
    border-top: 1px solid #eef0f5;
}
.task-status:checked {
    background-image: url(../img/对.png);
    background-size: 10px;
    background-color: #4acea3;
    border-color: #38bb90;
    background-repeat: no-repeat;
    background-position: center;
}
.task-status{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: 2px solid #bbbdc7;
    border-radius: 50%;
    background-color: #fff;
    margin-right: 10px;
    position: relative;
}
.task_name {
    margin-right: auto;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.completed{
    text-decoration: line-through rgba(0, 0, 0, 1);
}
.task-delete {
    border: 0;
    width: 18px;
    height: 18px;
    padding: 0;
    overflow: hidden;
    background-color: transparent;
    background-image: url(../img/关闭.png);
    background-size: cover;
    cursor: pointer;
    margin-left: 10px;
    display: none;
}

.nothing{
    padding: 12px 20px; 
    max-width: 450px;
}
.nothing>img{
    display: block;
    width: 100%;
}